﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="FastSpring.Core.Model.GeneratorId,FastSpring.Net.Core" table="Sys_GeneratorId" lazy="false">
    <id name="ID" column="ID" type="Int32">
      <generator class="native" />
    </id>
    <property name="TableName" column="TableName"/>
    <property name="MaxID" column="MaxID"/>
  </class>
  <query name="GetMaxIDOfTableName">
    <![CDATA[from GeneratorId generatorId WHERE generatorId.TableName=:param1]]>
  </query>
</hibernate-mapping>
